<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib uri="/struts-tags" prefix="s"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<head>
<base href="<%=basePath%>">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>
	<s:fielderror key="name">		
	</s:fielderror>
	<form action="LoginAction_login.do" method="post">
		<p>用户名</p>
		<input name="userName" type="text">
		<p>密码</p>
		<input name="passWord" type="password">
		<p></p>
		<input type="submit" value="登录"><a href="Jsp/Register.jsp">注册</a>
	</form>
	
	
	<form action="FileUploadAction.do" method="post" enctype="multipart/form-data">
		<input name="headPic" type="file">
		<input type="submit" value="上传">
	</form>
</body>
</html>